package helpers;

import com.google.appengine.api.utils.SystemProperty;

public class SettingHelper {
	private static String generalNamespace = "MULTIPLESITE";
	
	private static String domain = "artilcesites.appspot.com";

	public static String getGeneralNamespace() {
		return generalNamespace;
	}

	public static void setGeneralNamespace(String generalNamespace) {
		SettingHelper.generalNamespace = generalNamespace;
	}

	public static String getDomain() {
		if (SystemProperty.environment.value() == SystemProperty.Environment.Value.Production) {
			return domain;
		} else {
			return "services79.com";
		}
	}

	public static void setDomain(String domain) {
		SettingHelper.domain = domain;
	}

}
